package com.xtkj.superclub_entity.entity.friendsCircle.DTO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 项目名称：superclub
 * 类 名 称：LikedCountDTO
 * 类 描 述：TODO
 * 创建时间：2020/1/3 14:42
 * 创 建 人：xiezhiyan
 */

/**
 * 点赞数量 DTO。用于存储从 Redis 取出来的被点赞数量
 */
@Data
@ApiModel(value = "点赞数据传输")
public class LikedCountDTO implements Serializable {

    private static final long serialVersionUID = -2856160546081194945L;

    @ApiModelProperty(name = "shareId",value ="被点赞的分享的id")
    private String shareId;  //被点赞的分享的id
    @ApiModelProperty(name = "count",value ="点赞的数量")
    private Integer count;//点赞的数量

    public LikedCountDTO() {
    }

    public LikedCountDTO(String shareId, Integer count) {
        this.shareId = shareId;
        this.count = count;
    }
}